package com.windea.study.kotlin.jvm.crypt.sections

import kotlin.test.*

class CaesarEncryptKtTest {
	@Test
	fun test() {
		val c = 'a'
		val key = 3
		var ascii = c.toInt()
		ascii += key
		val result = ascii.toChar()
		println(result)
	}
	
	@Test
	fun caesarEncrypt() {
		assertEquals(CaesarCrypt.encrypt("abc", 3), "def")
	}
}
